* image-mode.el (image-toggle-display): Don't clear image cache.
authorChong Yidong <cyd@stupidchicken.com>
Mon, 21 May 2007 23:05:09 +0000 (23:05 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 21 May 2007 23:05:09 +0000 (23:05 +0000)
Only use filename in image spec if the file is readable.  Call
image-refresh.

lisp/ChangeLog

index d650d225531e13c5470d3a9957b6f6e9be6bcb1f..a0b807188e8d2c1e3077fb768bb987c4861d5afc 100644 (file)
@@ -1,5 +1,9 @@
 2007-05-21  Chong Yidong  <cyd@stupidchicken.com>
 
+       * image-mode.el (image-toggle-display): Don't clear image cache.
+       Only use filename in image spec if the file is readable.  Call
+       image-refresh.
+
        * image.el (image-type-from-file-name, image-type): Simplify.
        (image-type-auto-detected-p): Don't scan auto-mode-alist.